<fs-tabset>
  <fs-tab index="0" heading="{{'title.tab.apcommunity.general' | translate}}">
    <ng-form name="apCommunityGeneralForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityGeneral.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="1" heading="{{'title.tab.apcommunity.account' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcAccount == 'Y'">
    <ng-form name="apCommunityAccountForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityAccount.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="$index + 12" heading="{{item.label}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.interestCatShowFlag[item.value] == 'Y'"
   ng-repeat="item in vm.profIntCats track by $index ">
    <ng-form name="apCommunityInterestForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityInterest.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="2" heading="{{'title.tab.apcommunity.pastdue' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcPastdue == 'Y'">
    <ng-form name="apCommunityPastDueForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityPastDue.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="3" heading="{{'title.tab.apcommunity.fee' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcFee == 'Y'">
    <ng-form name="apCommunityFeeForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityFee.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="4" heading="{{'title.tab.apcommunity.document' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcDoc == 'Y'">
    <ng-form name="apCommunityDocumentForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityDocument.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="$index + 14" heading="{{item.label}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.facilityCatShowFlag[item.value] == 'Y'"
   ng-repeat="item in vm.profLimitFaciCats track by $index ">
    <ng-form name="apCommunityFacilityForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityFacility.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="5" heading="{{'title.tab.apcommunity.setlinst' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcSetlinst == 'Y'">
    <ng-form name="apCommunitySetlinstForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunitySetlinst.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="6" heading="{{'title.tab.apcommunity.billing' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcBilling == 'Y'">
    <ng-form name="apCommunityBillingForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityBilling.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="7" heading="{{'title.tab.apcommunity.chargeback' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcChargeback == 'Y'">
    <ng-form name="apCommunityChargebackForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityChargeback.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="8" heading="{{'title.tab.apcommunity.payschd' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcPayschd == 'Y'">
    <ng-form name="apCommunityPayschdForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityPayschd.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="9" heading="{{'title.tab.apcommunity.invfilter' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcInvfilter == 'Y'">
    <ng-form name="apCommunityInvfilterForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityInvfilter.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="10" heading="{{'title.tab.apcommunity.apmember' | translate}}" ng-show="vm.apCommunity.dataStatus">
    <ng-form name="apCommunityApMemberForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityApMember.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="11" heading="{{'title.tab.apcommunity.custprop' | translate}}" ng-show="vm.apCommunity.dataStatus && vm.apCommunity.prodSubtypeExtProperty.ufcCustprop == 'Y'">
    <ng-form name="apCommunityCustpropForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/apCommunity/included/apCommunityCustprop.html'"></div>
    </ng-form>
  </fs-tab>
</fs-tabset>